 <div class="padding-all ">
 <div ng-include src="'/ksr/partials/breadcrumb.htm'"></div>
 </div>
 <div class="padding-all ">
<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading">
    <span class="bold capitalize">{{customer.firstName}} {{customer.lastName}}</span>&apos;s Event Subscriptions
  </div>
  <!-- List group -->
  <ul class="list-group">

    <li class="list-group-item" ng-repeat="(subIdx,sub) in subscriptionList" ng-if="subscriptionList.length>0">
      <button type="button" class="btn btn-danger btn-xs pull-right inline-block" ng-click="cancelSubscription(subIdx)" >Unsubscribe</button>
      <div>
      <a ng-href="#/customer-subscription/{{sub.id}}"> Subscription for event <span class="bold">{{sub.eventSchedule.event.eventName}}</span></a>
      <div>{{sub.startDate|formatdate}} {{sub.openingTime|timestamp}} &mdash; {{sub.endDate|formatdate}} {{sub.closingTime|timestamp}}</div>
      </div>
    </li>

  </ul>
</div>
 </div>


    

<!--
<pre ng-bind="subscriptionList | json"></pre>
-->